package com.br.fiscalizacao.domain;

import com.br.fiscalizacao.reference.Funcao;
import javax.persistence.Enumerated;
import javax.validation.constraints.Size;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(table = "servidor")
public class Servidor {

    @Size(max = 80)
    private String nome;

    @Enumerated
    private Funcao funcao;
}
